//
//  ObMapListingResponse.m
//  Rockval
//
//  Created by TuanNT on 5/1/14.
//  Copyright (c) 2014 TNL. All rights reserved.
//

#import "ObMapListingResponse.h"

@implementation ObMapListingResponse
- (id) initWithName:(NSString *)name andID:(NSInteger)iD andForm:(NSInteger)form andAddress:(NSString *)address andImage:(NSData *)image andLat:(Float64)latutite andLong:(Float64)longtitute andVal:(NSString *)val andFeatute:(NSInteger)featute andMain:(NSString *)main andSub:(NSString *)sub andSize:(NSString *)size andContent:(NSString *)content andPrice:(NSString *)price{
    if (self) {
        self.name = name;
        self.iD = iD;
        self.form = form;
        self.address = address;
        self.image = [UIImage imageWithData:image];
        self.latutite = latutite;
        self.longtitute = longtitute;
        self.val = val;
        self.featute = featute;
        self.main = main;
        self.sub = sub;
        self.size = size;
        self.content = content;
        self.price = price;
    }
    return self;
}
@end
